package com.liang.gulimall.ware.feign;

import com.liang.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("gulimall-order")
public interface OrderFeignService {
    @GetMapping("/order/order/orderInfo/{orderSn}")
    R infoByOrderSn(@PathVariable("orderSn") String orderSn);
}
